< previous page page_41 next page >

Page 41
(table continued from previous page)
PropertyDescription
VisibleIndicates whether or not the form is visible. You might use this property to temporarily hide a form when its not being used by the user.
WindowStateThis property determines the mode in which the form is display. You can set it to Normal, which means the form will use the Top, Left, Width, and Height properties to calculate the size of the form. You may also choose Minimized if you want the form to be minimized on the task bar. Or, you can set it to Maximized to have it take up the entire screen area.

EXERCISE
Changing Properties to See Their Effect
1. Set the BorderStyle property to 1-Fixed Single. Now, when you run the form, youll be unable to size it. Youll typically use this type of form when developing a business application because youll place controls in certain locations and you wont want the user to resize the form so that the controls cant be seen.
2. Reset the WindowState property back to Normal.
3. You might want to try changing some of the other properties such as the MinButton, MaxButton, and ControlBox to see the effect this has on the form. After setting these properties, run the project by pressing F5 to see the changes these settings make.
analysis.gifProperties can do a lot to change the look and behavior of a form or control. As you can see from this exercise that just one change can greatly affect how your application is presented.

Naming the Project
When you start creating a Visual Basic application, you should have an idea of what this application will be used for. In this book, youll create an employee time tracking system. This application can be used for employees to track their time spent working on projects each day.
Now that you have a form started, you should create a name for the project.

 
< previous page page_41 next page >

If you like this book, buy it!